package com.demo.springboot;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/***
 * 加载外部的配置：PropertySource可以加载一个外部的配置，可以加载多个
 */
@Configuration
@PropertySource("classpath:/conf/app.properties")
@PropertySource("file:F:/java_web_workspace/tmp/test.properties")
@PropertySource("classpath:/conf/demo.properties")
public class FileConfig {
}
